Integrand size = 25, antiderivative size = 187 \[ \int \frac {(2-5 x) x^{7/2}}{\left (2+5 x+3 x^2\right )^{5/2}} \, dx=\frac {2 x^{5/2} (74+95 x)}{9 \left (2+5 x+3 x^2\right )^{3/2}}+\frac {8020 \sqrt {x} (2+3 x)}{81 \sqrt {2+5 x+3 x^2}}-\frac {40 \sqrt {x} (167+206 x)}{27 \sqrt {2+5 x+3 x^2}}-\frac {8020 \sqrt {2} (1+x) \sqrt {\frac {2+3 x}{1+x}} E\left (\arctan \left (\sqrt {x}\right )|-\frac {1}{2}\right )}{81 \sqrt {2+5 x+3 x^2}}+\frac {3340 \sqrt {2} (1+x) \sqrt {\frac {2+3 x}{1+x}} \operatorname {EllipticF}\left (\arctan \left (\sqrt {x}\right ),-\frac {1}{2}\right )}{27 \sqrt {2+5 x+3 x^2}} \]
[Out]
Time = 0.09 (sec) , antiderivative size = 187, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {832, 853, 1203, 1114, 1150} \[ \int \frac {(2-5 x) x^{7/2}}{\left (2+5 x+3 x^2\right )^{5/2}} \, dx=\frac {3340 \sqrt {2} (x+1) \sqrt {\frac {3 x+2}{x+1}} \operatorname {EllipticF}\left (\arctan \left (\sqrt {x}\right ),-\frac {1}{2}\right )}{27 \sqrt {3 x^2+5 x+2}}-\frac {8020 \sqrt {2} (x+1) \sqrt {\frac {3 x+2}{x+1}} E\left (\arctan \left (\sqrt {x}\right )|-\frac {1}{2}\right )}{81 \sqrt {3 x^2+5 x+2}}+\frac {8020 (3 x+2) \sqrt {x}}{81 \sqrt {3 x^2+5 x+2}}-\frac {40 (206 x+167) \sqrt {x}}{27 \sqrt {3 x^2+5 x+2}}+\frac {2 (95 x+74) x^{5/2}}{9 \left (3 x^2+5 x+2\right )^{3/2}} \]
[In]
[Out]
Rule 832
Rule 853
Rule 1114
Rule 1150
Rule 1203
Rubi steps \begin{align*} \text {integral}& = \frac {2 x^{5/2} (74+95 x)}{9 \left (2+5 x+3 x^2\right )^{3/2}}+\frac {2}{9} \int \frac {(-185-55 x) x^{3/2}}{\left (2+5 x+3 x^2\right )^{3/2}} \, dx \\ & = \frac {2 x^{5/2} (74+95 x)}{9 \left (2+5 x+3 x^2\right )^{3/2}}-\frac {40 \sqrt {x} (167+206 x)}{27 \sqrt {2+5 x+3 x^2}}+\frac {4}{27} \int \frac {835+\frac {2005 x}{2}}{\sqrt {x} \sqrt {2+5 x+3 x^2}} \, dx \\ & = \frac {2 x^{5/2} (74+95 x)}{9 \left (2+5 x+3 x^2\right )^{3/2}}-\frac {40 \sqrt {x} (167+206 x)}{27 \sqrt {2+5 x+3 x^2}}+\frac {8}{27} \text {Subst}\left (\int \frac {835+\frac {2005 x^2}{2}}{\sqrt {2+5 x^2+3 x^4}} \, dx,x,\sqrt {x}\right ) \\ & = \frac {2 x^{5/2} (74+95 x)}{9 \left (2+5 x+3 x^2\right )^{3/2}}-\frac {40 \sqrt {x} (167+206 x)}{27 \sqrt {2+5 x+3 x^2}}+\frac {6680}{27} \text {Subst}\left (\int \frac {1}{\sqrt {2+5 x^2+3 x^4}} \, dx,x,\sqrt {x}\right )+\frac {8020}{27} \text {Subst}\left (\int \frac {x^2}{\sqrt {2+5 x^2+3 x^4}} \, dx,x,\sqrt {x}\right ) \\ & = \frac {2 x^{5/2} (74+95 x)}{9 \left (2+5 x+3 x^2\right )^{3/2}}+\frac {8020 \sqrt {x} (2+3 x)}{81 \sqrt {2+5 x+3 x^2}}-\frac {40 \sqrt {x} (167+206 x)}{27 \sqrt {2+5 x+3 x^2}}-\frac {8020 \sqrt {2} (1+x) \sqrt {\frac {2+3 x}{1+x}} E\left (\tan ^{-1}\left (\sqrt {x}\right )|-\frac {1}{2}\right )}{81 \sqrt {2+5 x+3 x^2}}+\frac {3340 \sqrt {2} (1+x) \sqrt {\frac {2+3 x}{1+x}} F\left (\tan ^{-1}\left (\sqrt {x}\right )|-\frac {1}{2}\right )}{27 \sqrt {2+5 x+3 x^2}} \\ \end{align*}
Result contains complex when optimal does not.
Time = 21.21 (sec) , antiderivative size = 169, normalized size of antiderivative = 0.90 \[ \int \frac {(2-5 x) x^{7/2}}{\left (2+5 x+3 x^2\right )^{5/2}} \, dx=\frac {32080+120320 x+147100 x^2+58212 x^3-270 x^4+8020 i \sqrt {2+\frac {2}{x}} \sqrt {3+\frac {2}{x}} x^{3/2} \left (2+5 x+3 x^2\right ) E\left (i \text {arcsinh}\left (\frac {\sqrt {\frac {2}{3}}}{\sqrt {x}}\right )|\frac {3}{2}\right )+2000 i \sqrt {2+\frac {2}{x}} \sqrt {3+\frac {2}{x}} x^{3/2} \left (2+5 x+3 x^2\right ) \operatorname {EllipticF}\left (i \text {arcsinh}\left (\frac {\sqrt {\frac {2}{3}}}{\sqrt {x}}\right ),\frac {3}{2}\right )}{81 \sqrt {x} \left (2+5 x+3 x^2\right )^{3/2}} \]
[In]
[Out]
Time = 0.21 (sec) , antiderivative size = 214, normalized size of antiderivative = 1.14
method | result | size |
elliptic | \(\frac {\sqrt {x \left (3 x^{2}+5 x +2\right )}\, \left (\frac {\left (\frac {1012}{729}+\frac {1390 x}{729}\right ) \sqrt {3 x^{3}+5 x^{2}+2 x}}{\left (x^{2}+\frac {5}{3} x +\frac {2}{3}\right )^{2}}-\frac {2 x \left (\frac {10273}{243}+\frac {4025 x}{81}\right ) \sqrt {3}}{\sqrt {x \left (x^{2}+\frac {5}{3} x +\frac {2}{3}\right )}}+\frac {3340 \sqrt {6 x +4}\, \sqrt {3+3 x}\, \sqrt {-6 x}\, F\left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right )}{81 \sqrt {3 x^{3}+5 x^{2}+2 x}}+\frac {4010 \sqrt {6 x +4}\, \sqrt {3+3 x}\, \sqrt {-6 x}\, \left (\frac {E\left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right )}{3}-F\left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right )\right )}{81 \sqrt {3 x^{3}+5 x^{2}+2 x}}\right )}{\sqrt {x}\, \sqrt {3 x^{2}+5 x +2}}\) | \(214\) |
default | \(-\frac {2 \left (3015 \sqrt {6 x +4}\, \sqrt {3+3 x}\, \sqrt {6}\, \sqrt {-x}\, F\left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right ) x^{2}-6015 \sqrt {6 x +4}\, \sqrt {3+3 x}\, \sqrt {6}\, \sqrt {-x}\, E\left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right ) x^{2}+5025 \sqrt {6 x +4}\, \sqrt {3+3 x}\, \sqrt {6}\, \sqrt {-x}\, F\left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right ) x -10025 \sqrt {6 x +4}\, \sqrt {3+3 x}\, \sqrt {6}\, \sqrt {-x}\, E\left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right ) x +2010 \sqrt {6 x +4}\, \sqrt {3+3 x}\, \sqrt {6}\, \sqrt {-x}\, F\left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right )-4010 \sqrt {6 x +4}\, \sqrt {3+3 x}\, \sqrt {6}\, \sqrt {-x}\, E\left (\frac {\sqrt {6 x +4}}{2}, i \sqrt {2}\right )+108675 x^{4}+273582 x^{3}+224460 x^{2}+60120 x \right ) \sqrt {3 x^{2}+5 x +2}}{243 \sqrt {x}\, \left (2+3 x \right )^{2} \left (1+x \right )^{2}}\) | \(297\) |
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 0.12 (sec) , antiderivative size = 122, normalized size of antiderivative = 0.65 \[ \int \frac {(2-5 x) x^{7/2}}{\left (2+5 x+3 x^2\right )^{5/2}} \, dx=\frac {2 \, {\left (10010 \, \sqrt {3} {\left (9 \, x^{4} + 30 \, x^{3} + 37 \, x^{2} + 20 \, x + 4\right )} {\rm weierstrassPInverse}\left (\frac {28}{27}, \frac {80}{729}, x + \frac {5}{9}\right ) - 36090 \, \sqrt {3} {\left (9 \, x^{4} + 30 \, x^{3} + 37 \, x^{2} + 20 \, x + 4\right )} {\rm weierstrassZeta}\left (\frac {28}{27}, \frac {80}{729}, {\rm weierstrassPInverse}\left (\frac {28}{27}, \frac {80}{729}, x + \frac {5}{9}\right )\right ) - 27 \, {\left (12075 \, x^{3} + 30398 \, x^{2} + 24940 \, x + 6680\right )} \sqrt {3 \, x^{2} + 5 \, x + 2} \sqrt {x}\right )}}{729 \, {\left (9 \, x^{4} + 30 \, x^{3} + 37 \, x^{2} + 20 \, x + 4\right )}} \]
[In]
[Out]
Timed out. \[ \int \frac {(2-5 x) x^{7/2}}{\left (2+5 x+3 x^2\right )^{5/2}} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {(2-5 x) x^{7/2}}{\left (2+5 x+3 x^2\right )^{5/2}} \, dx=\int { -\frac {{\left (5 \, x - 2\right )} x^{\frac {7}{2}}}{{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac {5}{2}}} \,d x } \]
[In]
[Out]
\[ \int \frac {(2-5 x) x^{7/2}}{\left (2+5 x+3 x^2\right )^{5/2}} \, dx=\int { -\frac {{\left (5 \, x - 2\right )} x^{\frac {7}{2}}}{{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac {5}{2}}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {(2-5 x) x^{7/2}}{\left (2+5 x+3 x^2\right )^{5/2}} \, dx=-\int \frac {x^{7/2}\,\left (5\,x-2\right )}{{\left (3\,x^2+5\,x+2\right )}^{5/2}} \,d x \]
[In]
[Out]